import './assets/main.css'
import 'element-plus/dist/index.css'
import { md5 } from './utils/tools/crypto'
import { createApp } from 'vue'
import pinia from './stores'

import App from './App.vue'
import router from './router'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component)
}

app.config.globalProperties.$md5=md5


app.use(router)

app.use(pinia)

app.mount('#app')
